package upm.pb4agent.team1.ontology;

import jade.content.AgentAction;
import jade.util.leap.ArrayList;
import jade.util.leap.Iterator;
import jade.util.leap.List;

/**
 * Protege name: RegistrationClosed
 * 
 * @author ontology bean generator
 * @version 2012/06/1, 19:32:53
 */
public class RegistrationClosed implements AgentAction {

	private static final long serialVersionUID = -275561693397856213L;

	/**
	 * Protege name: acceptedTeam
	 */
	private List acceptedTeam = new ArrayList();

	public void addAcceptedTeam(String elem) {
		acceptedTeam.add(elem);
	}

	public boolean removeAcceptedTeam(String elem) {
		boolean result = acceptedTeam.remove(elem);
		return result;
	}

	public void clearAllAcceptedTeam() {
		acceptedTeam.clear();
	}

	public Iterator getAllAcceptedTeam() {
		return acceptedTeam.iterator();
	}

	public List getAcceptedTeam() {
		return acceptedTeam;
	}

	public void setAcceptedTeam(List l) {
		acceptedTeam = l;
	}

}
